JMPutSessionProperty
Adds or modifies a session property.
OSStatus JMPutSessionProperty ( JMSessionRef session, const char* propertyName, const char* propertyValue);
session
- The session whose property you wish to set.
propertyName
- A null-terminated string holding the name of the property whose value you want to add or modify.
propertyValue
- The value to set for
propertyName
.- function result
- A result code. See "JManager Result Codes" (page 69) for a list of result codes that JManager may return in this field.
DISCUSSION
If the property does not exist, JManager creates a new one with the name inpropertyName
and the value inpropertyValue
. This function corresponds to the Java methodjava.lang.System.setProperty
.SEE ALSO
TheJMGetSessionProperty
function (page 26).
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help